﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template_BHHY_1.Master" AutoEventWireup="true" CodeBehind="DotBH.aspx.cs" Inherits="WebBHXH.DotBH" %>
<asp:Content ID="Content_2" ContentPlaceHolderID="MainContent" runat="server">
    <div style="margin-left:80px; margin-top:30px; height:35px;">
<table style="width: 100%;" border="0">
    <tbody>
        <tr>
        <td style="width: 186px;" class="styleDSTitle">
        <span id="Span2" style="float: left;
                            padding-right: 10px; line-height: 24px;">Đơn Vị BH : 
        </span>
        <span style="float: left; padding-right: 10px; width: 66px;">
                <span id="Span1" class="riSingle RadInput RadInput_Windows7" 
                style="width: 80px;">
                    <asp:DropDownList CssClass="rcbInput" ID="ddlDonViBH" runat="server" Height="25px">
                    <asp:ListItem Value="0">--Tất Cả --</asp:ListItem>
                    </asp:DropDownList>
                </span>
        </span>
        </td>
        <td class="permissionBody" style="width: 162px">
            <span id="Span4" style="float: left;
                            padding-right: 10px; line-height: 24px;">Tỉnh : 
        </span>
        <span style="float: left; padding-right: 10px;">
                <span id="Span5" class="riSingle RadInput RadInput_Windows7" 
                style="width: 80px;">
                    <asp:DropDownList CssClass="rcbInput" ID="ddlTinh" runat="server" 
                Height="25px">
                <asp:ListItem Value="0">--Tất Cả --</asp:ListItem>
                    </asp:DropDownList>
                </span>
        </span>
        </td>
        <td class="styleDSTitle" style="width: 288px;">
        <span id="MainContent_UCQuanLy1_userControlUC_DonHangChuaThanhToan_lblSearchLabelText" style="float: left;
                            padding-right: 10px; line-height: 24px;">Đối Tượng : 
        </span>
            <span style="float: left; padding-right: 0px; height: 26px; width: 195px;">
                <span id="ctl00_MainContent_UCQuanLy1_userControlUC_DonHangChuaThanhToan_txtSearchInvoiceCOD_wrapper" class="riSingle RadInput RadInput_Windows7" style="width: 200px;">
                    <asp:TextBox type="text" class="riTextBox riEmpty" ID="txtObject" 
                runat="server" Width="157px"></asp:TextBox>
                </span>
            </span>
        </td>
        <td class="styleDSTitle" style="width: 336px">
        <span id="Span3" style="float: left;
                            padding-right: 10px; line-height: 24px;">Loại Bảo Hiểm : 
        </span>
            <span style="float: left; padding-right: 10px; margin-right:50px">
                <span id="loaibh" class="riSingle RadInput RadInput_Windows7" style="width: 50px;">
                    <asp:DropDownList CssClass="rcbInput" ID="ddlLoaiBH" runat="server" 
                Height="25px">
                <asp:ListItem Value="0">--Tất Cả --</asp:ListItem>
                    </asp:DropDownList>
                </span>
            </span>
            <asp:Button class="button" ID="btnSearch" runat="server" 
                Text="Tìm" onclick="btnSearch_Click" />
        </td>
        <td align="right">
            <div id="div-export-command" style="padding-top: 5px; margin-right:50px;">      
            </div>
        </td>
    </tr>
    </tbody>
    </table>
</div>

    <div style="margin-left:80px; margin-top:30px;">
    <asp:GridView ID="GridView1" runat="server" Width="962px" 
        onrowediting="GridView1_RowEditing" onrowdeleting="GridView1_RowDeleting" 
            AutoGenerateColumns="False" style="margin-left: 0px" AllowPaging="True" 
            onpageindexchanging="GridView1_PageIndexChanging" PageSize="6" 
            AutoGenerateSelectButton="True" 
            onselectedindexchanging="GridView1_SelectedIndexChanging">
        <Columns>
            <asp:BoundField DataField="MaDotBH" HeaderText="Mã Đợt">
            <ItemStyle Height="30px" />
            </asp:BoundField>
            <asp:BoundField DataField="DonViBH" HeaderText="Đơn Vị BH" />
            <asp:BoundField DataField="MaTinh" HeaderText="Mã Tỉnh" />
            <asp:BoundField DataField="Huyen" HeaderText="Huyện" />
            <asp:BoundField DataField="DoiTuong" HeaderText="Đối Tượng" />
            <asp:BoundField DataField="NgayLap" HeaderText="Ngày Lập" />
            <asp:BoundField DataField="LoaiBH" HeaderText="Loại BH" />
            <asp:BoundField DataField="MucBH" HeaderText="Mục BH" />
            <asp:BoundField DataField="SoTien1Nam" HeaderText="Số Tiền 1 Năm" />
            <asp:BoundField DataField="NguoiSudung" HeaderText="Người Tạo" />
            <asp:BoundField DataField="NgayTaoMoi" HeaderText="Ngày Tạo" />
            <asp:BoundField DataField="NgayCapNhat" HeaderText="Ngày Cập Nhật" />
            <asp:CommandField SelectText="Lựa Chọn" ShowSelectButton="True">
            <HeaderStyle Width="68px" />
            <ItemStyle HorizontalAlign="Center" />
            </asp:CommandField>
            <asp:CommandField EditText="Sửa" ShowEditButton="True">
            <HeaderStyle Width="30px" />
            <ItemStyle HorizontalAlign="Center" />
            </asp:CommandField>
            <asp:CommandField DeleteText="Xóa" ShowDeleteButton="True">
            <HeaderStyle HorizontalAlign="Center" Width="30px" />
            </asp:CommandField>
        </Columns>
        <HeaderStyle BackColor="#33CCFF" Height="30px" />
    </asp:GridView>
</div>
<div style="margin-left:80px;  margin-top:10px; text-align:right; margin-right:190px">
    <asp:Button ID="btnExportExcel" runat="server" Text="Xuất file Excel" 
        onclick="btnExportExcel_Click" />
    <asp:Button ID="btnPrintCard" runat="server" Text="In Thẻ" 
        onclick="btnPrintCard_Click" />
</div>
</asp:Content>
